package net.wzyjerry.springboot.demo.controller;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.servlet.ModelAndView;

/**
 * Created by WzyJerry on 2017/10/21.
 * Home Controller
 */
@Controller
public class HomeController {
    /**
     * Homepage
     *
     * @return Homepage
     */
    @RequestMapping(value = {"/", "/home", "/home/index"})
    public ModelAndView Index() {
        return new ModelAndView("home/index");
    }
}
